package com.shop.wk.service.impl;

import com.shop.wk.data.entity.AuRole;
import com.shop.wk.mapper.AuRoleMapper;
import com.shop.wk.service.RoleService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 日月星辰
 * @date 2020/12/25 21:13
 * @description
 */
@Service
public class RoleServiceImpl implements RoleService {

	@Autowired
	private AuRoleMapper auRoleMapper;

	@Override
	public List<AuRole> getRoleList(Integer userId) {
		return auRoleMapper.getList(userId);
	}

}
